<template>
  <div>
    <input :value="value" @input="handlerInput" />
  </div>
</template>

<script>
export default {
  props: {
    value: {
      type: [String, Number],
      default: "",
    },
  },
  data() {
    return {};
  },
  methods: {
    handlerInput($event) {
      console.log("$event", $event);
      const { value } = $event.target;
      // console.log('value',value);
      this.$emit("input", value);
    },
  },
};
</script>

<style>
</style>
